home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Trusted Irix /B 4.0.4
/
Trusted-Irix B-4.0.1.iso
/
dist
/
eoe1.idb
/
etc
/
halt.z
/
halt
Wrap
Text File
|
1992-04-03
|
327b
|
25 lines
#! /bin/sh -e
#Tag 0x00000f00
#
# Reboot the system--stop the system and leave it 'in the PROM'
#
# $Revision: 1.3 $"
#
if test -n "$REMOTEHOST"; then
echo "Halt `hostname`? \c"
read reply
case "$reply" in
[yY]*)
;;
*)
echo "'Halt' cancelled."
exit 0
;;
esac
fi
/etc/shutdown -y -g0 -i0
sleep 10 2> /dev/null